package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 抽奖记录实体
 * 表名 lottery_record
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 20 11:07:03 CST 2020
 */
@Setter
@Getter
public class LotteryRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //用户ID
    private Long userId;
    //活动ID
    private Long actId;
    //奖品ID
    private Long goodsId;
    //绑定产品id
    private Long bandGoodsId;
    //奖品名
    private String goodsName;
    //消耗数量
    private BigDecimal amount;
    //兑换码
    private String lotteryCode;
    private String orderNo;
    private String orderName;
    //抽奖时间
    private Date time;
    //绑定订单id
    private Long orderId;
    //状态
    private Integer status;
    //是否抽奖
    private Integer isLottery;
    //起止时间
    Date[] times;
    private String ShopName;
    private Integer numbere;
    private BigDecimal price;

    public LotteryRecordEntity(Long userId, Long actId, String orderNo, Date time) {
        this.userId = userId;
        this.actId = actId;
        this.orderNo = orderNo;
        this.time = time;
    }

    public LotteryRecordEntity() {

    }

}
